﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Abp.Application.Services;
using Xugege.AbpExtension.Application.Extension.DataDictionary.Dto;
using Xugege.AbpExtension.Com.Dto;

namespace Xugege.AbpExtension.Application.Extension.DataDictionary
{
    public interface IDictionaryService: IApplicationService
    {
        Task<IList<JsTreeDto<DictionaryOutputDto>>> GetDictionariesByCategory(DictionaryInputDto input);

        Task<IList<DictionaryOutputDto>> GetDictionaries(DictionaryInputDto input);

        Task<DictionaryOutputDto> Update(DictionaryInputDto input);

        Task<long> Delete(DictionaryInputDto input);
    }
}
